<?php

namespace app\index\controller;

use app\api\model\Token;
use app\common\controller\Api;
use app\common\model\CateModel;
use app\common\model\DouyinModel;
use think\Controller;
use think\Request;
use util\Http;

class Common extends Controller
{

    public function getCate(){
       $cate = (new CateModel())->where(['status' => 1])->order('sort desc')->select();

       return $cate;
    }


}